package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 */
@ApiModel(description = "")
public class SysRoleResource {
	
	private Long	id;			// 主键
	private Long	roleId;		// 角色id
	private Long	resourceId;	// 资源(按纽/功能)id
	
	public SysRoleResource(Long roleId, Long resourceId) {
		this.roleId = roleId;
		this.resourceId = resourceId;
	}
	
	@ApiModelProperty(value = "主键")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "角色id")
	public Long getRoleId() {
		return roleId;
	}
	
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	
	@ApiModelProperty(value = "资源(按纽/功能)id")
	public Long getResourceId() {
		return resourceId;
	}
	
	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}
}
